package com.kuang.springcloud.dao;

import com.kuang.srpingcloud.api.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DeptMapper {
    public boolean add(Dept dept);
    public Dept queryByID(Long id);
    public List<Dept> queryAll();
}
